#!/bin/sh

ls -al /var
sudo docker run --tty  --name $JOB_NAME-$BUILD_NUMBER  --detach $image /bin/sh

sudo docker cp ./ $JOB_NAME-$BUILD_NUMBER:/var/${JOB_NAME}_${BUILD_NUMBER}
#sudo docker cp /var/gradle/.gradle $JOB_NAME-$BUILD_NUMBER:/root/